use safer way