Define all functions the same way