first version of inline calendar