improve marking