added twin functions for parameters, type for component