looking for a better method