implement flights