This could also be taken out of function to avoid unnecessary runtime work