deleted unused and unimplemented functions