Made the $basket a private variable