Converting push view to sugarcube method