thx! copied this from another view..