seperated main
updated yaml