init version of pour1
fixed small bugs
solved the pour1 problem (but slow)