got rid of useless code