refactor getting sign