implemented basic inbox