added retrofit, implemented testing