started on test and main files