add basic karma functionality