putting in correct into view