Separated some views from code