finished add and view observations with the variable types.