Uploading code written in class.