removed quantity related functions
removed quantity related functions