moved get into the main file