Adding views for the various functions