Added some more functionallity to the marker