final v1.2 version tested