changed function name for simplicity