Deleted not necessary functions