[Issue #93] added return method for both method