Added create comment function