gets number in safer way