Added provided code