add functionality for routing key properly