code drawing 118b by RafaelFajardo