added prototype for markers
merged with master branch