Towards inflation in string theory