just adding background sample functionallity