Fixed parse so that it can be called more than once with different values