updates to main file