first commit

added general code