only storing one result and not pushing all the time