remove integer pragma

Signed-off-by: Caleb Cushing <xenoterracide@gmail.com>
rename arg to text

Signed-off-by: Caleb Cushing <xenoterracide@gmail.com>
refactor to be a little easier to understand

Signed-off-by: Caleb Cushing <xenoterracide@gmail.com>