removed traces and added samples output