added boolean ouput for succes / failure