Implement some helper functions ++++

Now its actually looks like this is doable:)