removed un-used function