globaling feed response and making script faster