edited all main files