removed preview,finished simple crud