Finished except database operation