Added functions on friendship class