Adding already written code