Move the codes to his class!