quick code for joseph