fixed initialisation of pellets