created helper, updated test