oneline method