deleted extraneous functions