need better method name and a comment