adding buttons to view assignments