Working example with separate packages