wrote yml and main
