Added functionality for creating comments