Deleted not needed functions