add return value for crud