updated prototypes and commands