add a method to get code