changed last argument to true from false to avoid weird runtime error