wotking on input parameters, get_semi and get_data done