finish yaml part
verified basic function