trend input not hard coded. Typo in ui