component to record anything from it's input
corrected API issue