Added pose to marker function