Beetle state design pattern voltooid