Added skeleton for remaining functions, started implementation for scan function