add resize and evaluation