First attempt at solutions