changing the @ error supression to an actual test, since error supression isn't the way to be cool
adding a docblock for actionSave