Added simple python construct and fixed index