adding double axis support