rename globals function to be consistent
add placeholder for a compile function