adding bucket to pin model