adding compute2 framework