Ptr to ref
Add correct seed
fixed 0,0 bug