removed R wrappers