Removing trial function