- more functionality added to main js