Added objects to mainstate