getcode method

q'd