simplifying caption writing