fixed to private method