sample, but not working allt he way