use same variable in function as argument for query
Fallback to local calculations when API screws up
use age as number in fallback
Convert float to int before using it on string
Syntax Error :|
Explicitly commit in query
Remove weird stuff in code