all codes init