get data from kwargs