added actual bytecode generation. it's not working, because of some
internal problems. need to find out what's wrong.