adding helper functions note