code execution now works ok