Much importance was attached to formalities surrounding the social ranks of bakushin (shogunate retainers), i.e. hatamoto (shogunal vassals) and gokenin (lower ranking vassals, or the warrior class). However, the lifestyle of such warriors was not easy. Only 1 out of every 3 days would be spent working, so it was common for a samurai to have a side job to make ends meet. For example, samurai could make a living by teaching reading and writing or martial arts, hairdressing, sharpening swords, repairing armour or through agricultural work.