produces code succesfully for example in class lots more to do