two stages, cannot handle multiplication