first finished uncleaned code