toString implementatins
debug logs added