simplified the success handlers