adding the helper function