got rid of unused functions