practising using apis