Refactor, add check for 0 target stories