added new helpers to render the pins