Added return statement to return instance data to the caller