Deleted unnused functions