adding quad encoders for testing