Deleted some extraneous variables