Got the shit working.
final version