created buckets file
added a new function