removed old function
updated synta