adding type input and user targeting