Co-authored-by: Chris <CrispyBaconz@users.noreply.github.com>
space at end of queries removed
refactored text -> string, number -> int