updated for cos