added compile activity