Added message and fixed modifier for method