got a main function sort of going