Drawing functionality working