Amended

Added missing function