added implementation file and create char code
check type updated