Submission version

Deleted unnecessary functions.