View Creation algorithm generated