putting all pieces together for submission