adding lucky function