created a base to the views