wrote marker display bound function