deleted not needed functions