working till overflow