class functions can also take arguments (e.g. flight from ... to ...)