finished all main classes. It's now working.