modify view sample