added series 2 support