Deleted all unnecesary functions.