Added all used code