working on optimizing GET