refactored toolbar into prototypes