working on AJAX view system