implemented assignable function for type