got rid of positions functions