Deleting not useful function