Add view, computation and functions for intervals