setting up loops assignment