added private method