Success function for inspiration added

All thats left to complete is the error function after success for the
inspiration.