added auction functionality