Deleted all old code(Should be re-copy pasted in if needed)