added logic
initial commit