Create apollowhileloop