fixed protein synthesis function