Add first version of error clause