first attempt at creating a view