building a services for trains