added queue to candy class