lionel 8042 locomotive prr tender

lionel 8042 locomotive with prr tender. Its 18 inchs long when attached. 242, this grad trunk western steamer with smoke and headlight is in good condition. don,t know much about these and if it works or not.