delete excess code and minor edits
final edits