changed return value of successful proccesing