Continuation of main.c for testing purposes...