added fill sky function in branch 2