Added call to the loop functions observe method. The implementation is now complete.