Implemented logic, changed shadow.