added basic bot code