moving more towards functions