snake view base class