Reverted to numerical values due to issues

Due to issues with non numerical values and return values, numerical
values and echo statements are now being used to resolve this issue.