code Cleaned