adding basic GET behaviour