draw functions for sim