Made the module generally usable without hardcoding values