draw method for map rewritten