started adding inline put and get functions